home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-09-30 | 1.1 KB | 50 lines | [TEXT/MPS ] |
- ################################
- #
- # MakeFile for Hex tool
- #
- # Copyright Paul Russell, ARC Electronics, 1987-1992.
- #
- # To build a new version of Hex, execute the following
- # MPW commands:
- #
- # BuildProgram Hex # compile the new version of Hex
- # Duplicate -y Hex "{MPW}Tools:" # copy it to the MPW Tools folder
- #
-
- Creator = 'MPS '
- Type = MPST
-
- POptions = -r -mbg off -o {Targ} # production
- #POptions = -mbg full -ov -o {Targ} # development
-
- ROptions = -c {Creator} -t {Type} -append -o {Targ}
-
- LOptions = -c {Creator} -t {Type} -w -o {Targ}
-
- SOURCES = Hex.p Hex.r
-
- OBJECTS = Hex.o
-
- VOptions = -d -r -fmt 1Z.3Z
-
- VersionLog = Version.Log
-
- EchoDate = Echo -n "`Date -s`∂t"
-
- Hex ƒƒ MakeFile {OBJECTS}
- Link {LOptions} ∂
- {OBJECTS} ∂
- "{Libraries}"stubs.o ∂
- "{Libraries}"Runtime.o ∂
- "{Libraries}"Interface.o ∂
- "{PLibraries}"PasLib.o ∂
- "{Libraries}"ToolLibs.o
-
- Hex ƒƒ MakeFile Hex.r
- Rez {ROptions} Hex.r
-
- Hex.o ƒ MakeFile Hex.p
- {EchoDate} >> {VersionLog}
- SetVersion {VOptions} Hex -psource Hex.p -rezsource Hex.r >> {VersionLog} || Set Status 0
- Pascal {POptions} Hex.p
-